ButtonSetState SUB Action Sets the state of the specified button and redraws it. Syntax ButtonSetState handle%, state% Remarks The ButtonSetState procedure operates on buttons in the current window. Use ButtonSetState to change button state in response to user selection of different buttons. The ButtonSetState procedure uses the following arguments. handle% ------- An integer that indicates the number of the button whose state is being set. This can be any number between 1 and the value declared in the constant MAXBUTTON, inclusive. state% ------ An integer that indicates the state of the button. For each different button type and state% value, the following applies. Type Value Significance 1 1 Normal. 2 Default choice (brackets highlighted). 3 Chosen (highlighted in reverse video). 2 & 3 1 Normal. 2 Selected (checked). 4 0 Does not apply to type 4. 5 Reserved for future use. 6 & 7 n Sets the initial position of the scroll bar's position indicator. It can be between 1 and the maximum position. See Also. ButtonInquire